package com.fjh.springboot_01.pojo.tutor;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class TutoringBooking {
    private Integer id;
    private Integer tutoringId;
    private Integer studentId;
    private Integer teacherId;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private String location;
    private String requirements;
    private Integer status;  // 0: 待确认, 1: 已接受, 2: 已拒绝, 3: 已完成
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // 额外的非数据库字段
    private String studentName;
    private String teacherName;
    private String tutoringTitle;
    private String studentAvatar;
    private String teacherAvatar;
    
    // 添加教师删除和学生删除的字段
    private Boolean teacherDeleted; // 教师是否已删除
    private Boolean studentDeleted; // 学生是否已删除
} 